<template>
<!-- 搜索框组件 功能：点击后跳转到搜索页面 -->
  <div class="M-search">
    <div class="search" @click="Jump">
      <i class="iconfont icon-Magnifier"></i><span>搜索</span>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    Jump(){
      this.$router.push('/search')
    }
  }
};
</script>

<style scoped lang='scss'>
.M-search {
  display: flex;
  .search {
    width: 95%;
    height: 133px;
    border-radius: 66px;
    margin: 66px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    i {
      font-size: 84px;
      margin-right: 5px;
      margin-bottom: -4px;
      color: #b4b4b4;
    }
    span {
      color: #b4b4b4;
    }
  }
}
</style>